<!-- $Id: order_query.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<form action="goods_inquiry.php?act=save_list" method="post" enctype="multipart/form-data" name="theForm" onsubmit="return validate()">
<div class="list-div" id="listDiv">
  <table cellpadding="3" cellspacing="1">
    <tr>
      <th>商品名称</th>
      <th width="8%">国家</th>
      <th width="8%">品牌</th>
      <th width="8%">规格</th>
      <th width="8%">型号</th>
      <th width="8%">订货码</th>
      <th width="8%">物料类型</th>
      <th width="5%">历史不税价</th>
      <th width="5%">报价时间</th> 
      <th width="5%">数量</th> 
      <th width="5%">货期</th> 
      <th width="5%">备注</th>                   
    </tr>
    {foreach from=$entityList item=cur}
    <tr>
	<td align="left">{$cur.goods_name|escape:html}<input type="hidden" name="goods_name[]" value="{$cur.goods_name|escape:html}" /></td>
	<td align="left">{$cur.nation|escape:html}<input type="hidden" name="nation[]" value="{$cur.nation|escape:html}" /></td>
	<td align="left">{$cur.brand_name|escape:html}<input type="hidden" name="brand_name[]" value="{$cur.brand_name|escape:html}" /></td>
	<td align="left">{$cur.specification|escape:html}<input type="hidden" name="specification[]" value="{$cur.specification|escape:html}" /></td>
	<td align="left">{$cur.model|escape:html}<input type="hidden" name="model[]" value="{$cur.model|escape:html}" /></td>
	<td align="left">{$cur.order_code|escape:html}<input type="hidden" name="order_code[]" value="{$cur.order_code|escape:html}" /></td>
	<td align="left">{$cur.materials_type|escape:html}<input type="hidden" name="materials_type[]" value="{$cur.materials_type|escape:html}" /></td>
	<td align="right">{$cur.no_tax_price|escape:html}<input type="hidden" name="no_tax_price[]" value="{$cur.no_tax_price|escape:html}" /></td>
	<td align="left" nowrap="nowrap">{$cur.update_time}<input type="hidden" name="update_time[]" value="{$cur.update_time}" /></td>
	<td align="right"><input type="text" name="goods_num[]"  size="5"  maxlength="10" value="1" style="text-align:right;" /></td>
	<td align="left"><input type="text" name="goods_date[]" size="10" maxlength="20" /></td>
	<td align="left"><input type="text" name="goods_desc[]" size="15" maxlength="50" /></td>
    </tr> 
    {foreachelse}
    <tr><td class="no-records" colspan="12">{$lang.no_records}</td></tr>
    {/foreach}    
    <tr>
      <td colspan="12"><div align="center">
        <input name="query" type="submit" class="button" id="query" value=" 确定 " />
        <input name="reset" type="button" onclick="history.back();" class='button' value=' 返回 ' />
      </div></td>
      </tr>
  </table>
  </div>
</form>
{insert_scripts files="../js/utils.js,validator.js"}
<script type="text/javascript" language="javascript">
  <!--
  {literal}
  onload = function()
  {
      // 开始检查订单
      startCheckOrder();
  }
  {/literal}
  
function validate() {
    validator = new Validator("theForm");
    //validator.required("brand_name", no_brandname);
    //validator.required("cat_id",     no_cat_id);
    validator.isEmail("email", email_msg, true);
    return validator.passed();
}  
  //-->
</script>
{include file="pagefooter.htm"}
